package no.hig.ekm.ircclient;

import java.io.Serializable;

/**
 * Containerclass, which holds information of one single server. It is supposed
 * to be referenced to from a Network object.
 * 
 * @author eigil, kristofers
 */
public class Server implements Serializable {

	private static final long serialVersionUID = 1L;
	private String url;
	private String name;
	private String ports;

	Server(String name, String url, String p) {
		this.name = name;
		this.url = url;
		this.ports = p;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPorts() {
		return ports;
	}

	public void setPorts(String ports) {
		this.ports = ports;
	}
}
